package org.jeecg.modules.demo.cms.article.mapper;


import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.cms.article.entity.CmsArticle;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.modules.demo.cms.article.vo.CmsArticleVo;

/**
 * @Description: 网站新闻表
 * @Author: jeecg-boot
 * @Date:   2025-06-07
 * @Version: V1.0
 */
public interface CmsArticleMapper extends BaseMapper<CmsArticle> {

//    IPage<CmsArticleVo> pageSelectArticle(Page<CmsArticle> page,@Param("cmsArticleVo") CmsArticleVo cmsArticleVo);

    IPage<CmsArticleVo> pageSelectArticle(Page<CmsArticleVo> page, @Param(Constants.WRAPPER) Wrapper<CmsArticle> queryWrapper);
}
